home *** CD-ROM | disk | FTP | other *** search
/ 5 Star Games: DOS Edition 2 / 5 Star Games - DOS Edition (1995)(Ready to Run).iso / dbc / db_curs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-02-28  |  1.2 KB  |  42 lines

  1. /****************************************************************************/
  2. /*                  HEADER FILE FOR DATABOSS MODULE: DBCURS                 */
  3. /****************************************************************************/
  4.  
  5. /*********************************  TYPES  **********************************/
  6.  
  7. typedef enum {
  8.     _SetMode,  _SetCTyp, _SetCPos,  _GetCurs,
  9.     _GetLPos,  _SelPg,   _ScrollUp, _ScrollDn,
  10.     _ReadAC,   _WriteAC, _WriteCh,  _SetPal,
  11.     _WriteDot, _ReadDot, _WriteTTY, _GetMode,
  12.     _Res1,     _Res2,    _Res3,     _WriteStr
  13. } int10_ah;
  14. typedef struct {
  15.     byte b_scan;
  16.     byte e_scan;
  17.     byte crow;
  18.     byte ccol;
  19. } cursortyp;
  20. typedef struct {
  21.     byte mode;
  22.     byte cols;
  23.     byte dpage;
  24. } modetyp;
  25.  
  26. /*******************************  VARIABLES  ********************************/
  27.  
  28. extern bool      ins_flag;
  29. extern cursortyp linecurs;
  30. extern cursortyp inscurs;
  31. extern cursortyp hidecurs;
  32.  
  33. /*******************************  PROTOTYPES  *******************************/
  34.  
  35. void vidfun(int10_ah fun, modetyp *md);
  36. void curfun(int10_ah fun, cursortyp *curs);
  37. void toggleins(cursortyp *curs);
  38.  
  39. void db_curs_init(void);
  40.  
  41. /***************************** END OF DB_CURS.H *****************************/
  42.